package com.wuchao.springs.ioc;

/**
 * @Author wuchao66
 * @Date 2023/10/12 9:18
 * @PackageName:com.wuchao.springs.ioc
 * @ClassName: Dog
 * @Description: TODO
 * @Param
 * @Version 1.0
 */
public class Dog {//只能选择用get/set设值注入

    public String getName() {
        return name;
    }

    public void setName(String name) {
        this.name = name;
    }

    public String name;

    public void show(){//切入点
        System.out.println(name);
    }
}
